package cn.stu.lqj.demo.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
public class All {
    @TableId(type = IdType.AUTO)
    private int id;
    private String name;
    @TableField("card_id")
    private String cardId;
    private int age;
    private double salary;
    @TableField("emp_id")
    private int empId;
    @TableField("dept_name")
    private String deptName;
    @TableField("dept_loc")
    private String deptLoc;
    @TableField("dept_num")
    private String deptNum;
}
